package com.plian.system.entity.pf;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Author: Take-off
 * @Description: TODO
 * @Date: 2023/1/3 9:00 PM
 * @Version: 1.0
 **/

@Data
@TableName("pf_audit_assets")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AuditAssets 对象", description = "国资审核-企业自评国资审核")
public class AuditAssets extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主表id")
    private Long baseBusinessAuditId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "年度调整id")
    private Long baseAssessId;

    @ApiModelProperty(value = "完成情况")
    private String execution;

    @ApiModelProperty(value = "分项得分值" )
    private BigDecimal selfScore;

    @ApiModelProperty(value = "国资审核-审核情况")
    private String auditExecution;

    @ApiModelProperty(value = "国资审核-分项得分值" )
    private BigDecimal auditSelfScore;

    @ApiModelProperty(value = "类型：1-有效投资，2-重大项目")
    private Integer type;

    @TableField(exist = false)
    @ApiModelProperty(value = "第三方年度调整id")
    private String indicatorsCodeId;
}
